﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyThuNgan
{
    public class ThuocNoiTruCTL
    {
        ThuocNoiTruDAO data = new ThuocNoiTruDAO();
        public string m_Insert_(string sobn, int stt, int bdid, string dvt, int slg, float slgcosan, int dongia, float trigia, int langay, float slglan, int usageid, float slgtra, int dgtra, float slgsd, string dvsudung, string tgdung, string buoidung, string donvitinh, string DvSuDungUni, string TgDungUni, string BuoiDungUni, int giabhyt)
        {
            return data.m_Insert_(sobn, stt, bdid, dvt, slg, slgcosan, dongia, trigia, langay, slglan, usageid, slgtra, dgtra, slgsd, dvsudung, tgdung, buoidung, donvitinh, DvSuDungUni, TgDungUni, BuoiDungUni, giabhyt);
        }
        public string m_Delete_(string sobn)
        {
            return data.m_Delete_(sobn);
        }
        public string m_Update_(string sobn, int stt, int bdid, string dvt, int slg, float slgcosan, int dongia, float trigia, int langay, float slglan, int usageid, float slgtra, int dgtra, float slgsd, string dvsudung, string tgdung, string buoidung, string donvitinh, string DvSuDungUni, string TgDungUni, string BuoiDungUni, int giabhyt)
        {
            return data.m_Update_(sobn, stt, bdid, dvt, slg, slgcosan, dongia, trigia, langay, slglan, usageid, slgtra, dgtra, slgsd, dvsudung, tgdung, buoidung, donvitinh, DvSuDungUni, TgDungUni, BuoiDungUni, giabhyt);
        }
        public string m_Update_TraThuoc(string sobn, int bdid, float slgtra, int dongiatra, float slgsd)
        {
            return data.m_Update_TraThuoc(sobn, bdid, slgtra, dongiatra, slgsd);
        }
    }
}
